﻿<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!-- Le styles -->
    @Styles.Render("~/Content/themes/base/css", "~/Content/css")
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <style>
        body
        {
            /* padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
        }
    </style>
    @*<link href="~/Content/bootstrap-responsive.min.css" rel="stylesheet" />*@
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
<body>
    @{string CurrentController = ViewContext.Controller.ValueProvider.GetValue("controller").RawValue.ToString();}
    <div class="navbar navbar-inverse" style="margin-top: -10px;">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
                    class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </a><a class="brand" href="#">Online Examination </a>
                <div class="nav-collapse">
                    <ul class="nav nav-pills">
                        @if (CurrentController == "Home")
                        {   <li class="active">@Html.ActionLink("Ana Sayfa", "Index", "Home")</li>
                        }
                        else
                        { <li>@Html.ActionLink("Ana Sayfa", "Index", "Home")</li>
                        }
                        @if (CurrentController == "Course")
                        {   <li class="active">@Html.ActionLink("Dersler", "Index", "Course")</li>
                        }
                        else
                        { <li>@Html.ActionLink("Dersler", "Index", "Course")</li>
                        }
                        @if (CurrentController == "Exam")
                        {   <li class="active">@Html.ActionLink("Sınavlar", "Index", "Exam")</li>
                        }
                        else
                        { <li>@Html.ActionLink("Sınavlar", "Index", "Exam")</li>
                        }
                    </ul>
                    <div class="pull-right">
                        @Html.Partial("_LoginPartial")
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <div class=" span11">
            <div class="row well">
                @RenderBody()</div>
            <div class="row well">
                2013© Selahattin AKKAŞ
            </div>
        </div>
        <!--#span10 end-->
    </div>
    <!-- ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    @Scripts.Render("~/bundles/jquery")
    <script src="~/Scripts/bootstrap.min.js"></script>
    @RenderSection("scripts", required: false)
</body>
</html>
